package heven.holt.wan.android.model

/*
{
    "apkLink":"",
    "audit":1,
    "author":"扔物线",
    "canEdit":false,
    "chapterId":249,
    "chapterName":"干货资源",
    "collect":false,
    "courseId":13,
    "desc":"",
    "descMd":"",
    "envelopePic":"",
    "fresh":true,
    "host":"",
    "id":12554,
    "link":"https://url.rengwuxian.com/gw",
    "niceDate":"刚刚",
    "niceShareDate":"2020-03-23 16:36",
    "origin":"",
    "prefix":"",
    "projectLink":"",
    "publishTime":1643558400000,
    "realSuperChapterId":248,
    "selfVisible":0,
    "shareDate":1584952597000,
    "shareUser":"",
    "superChapterId":249,
    "superChapterName":"干货资源",
    "tags":[

    ],
    "title":"给高级 Android 工程师的进阶手册",
    "type":1,
    "userId":-1,
    "visible":1,
    "zan":0
}
 */
data class ArticleModel(
    val apkLink: String?,
    val audit: Int?,
    val author: String?,
    val canEdit: Boolean?,
    val chapterId: Int?,
    val chapterName: String?,
    val collect: Boolean?,
    val courseId: Int?,
    val desc: String?,
    val descMd: String?,
    val envelopePic: String?,
    val fresh: Boolean?,
    val host: String?,
    val id: Int?,
    val link: String?,
    val niceDate: String?,
    val niceShareDate: String?,
    val origin: String?,
    val prefix: String?,
    val projectLink: String?,
    val publishTime: Long?,
    val realSuperChapterId: Int?,
    val selfVisible: Int?,
    val shareDate: Long?,
    val shareUser: String?,
    val superChapterId: Int?,
    val superChapterName: String?,
    val tags: List<Tag>?,
    val title: String?,
    val type: Int?,
    val userId: Int?,
    val visible: Int?,
    val zan: Int?,
    var top: Boolean?
)

data class Tag(
    val name: String?,
    val url: String?
)